package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EduStudyActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EduStudyActivityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityTitleIsNull() {
            addCriterion("activity_title is null");
            return (Criteria) this;
        }

        public Criteria andActivityTitleIsNotNull() {
            addCriterion("activity_title is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTitleEqualTo(String value) {
            addCriterion("activity_title =", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleNotEqualTo(String value) {
            addCriterion("activity_title <>", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleGreaterThan(String value) {
            addCriterion("activity_title >", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleGreaterThanOrEqualTo(String value) {
            addCriterion("activity_title >=", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleLessThan(String value) {
            addCriterion("activity_title <", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleLessThanOrEqualTo(String value) {
            addCriterion("activity_title <=", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleLike(String value) {
            addCriterion("activity_title like", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleNotLike(String value) {
            addCriterion("activity_title not like", value, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleIn(List<String> values) {
            addCriterion("activity_title in", values, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleNotIn(List<String> values) {
            addCriterion("activity_title not in", values, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleBetween(String value1, String value2) {
            addCriterion("activity_title between", value1, value2, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityTitleNotBetween(String value1, String value2) {
            addCriterion("activity_title not between", value1, value2, "activityTitle");
            return (Criteria) this;
        }

        public Criteria andActivityContentIsNull() {
            addCriterion("activity_content is null");
            return (Criteria) this;
        }

        public Criteria andActivityContentIsNotNull() {
            addCriterion("activity_content is not null");
            return (Criteria) this;
        }

        public Criteria andActivityContentEqualTo(String value) {
            addCriterion("activity_content =", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotEqualTo(String value) {
            addCriterion("activity_content <>", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentGreaterThan(String value) {
            addCriterion("activity_content >", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentGreaterThanOrEqualTo(String value) {
            addCriterion("activity_content >=", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLessThan(String value) {
            addCriterion("activity_content <", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLessThanOrEqualTo(String value) {
            addCriterion("activity_content <=", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLike(String value) {
            addCriterion("activity_content like", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotLike(String value) {
            addCriterion("activity_content not like", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentIn(List<String> values) {
            addCriterion("activity_content in", values, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotIn(List<String> values) {
            addCriterion("activity_content not in", values, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentBetween(String value1, String value2) {
            addCriterion("activity_content between", value1, value2, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotBetween(String value1, String value2) {
            addCriterion("activity_content not between", value1, value2, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdIsNull() {
            addCriterion("activity_targets_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdIsNotNull() {
            addCriterion("activity_targets_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdEqualTo(Integer value) {
            addCriterion("activity_targets_id =", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdNotEqualTo(Integer value) {
            addCriterion("activity_targets_id <>", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdGreaterThan(Integer value) {
            addCriterion("activity_targets_id >", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_targets_id >=", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdLessThan(Integer value) {
            addCriterion("activity_targets_id <", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_targets_id <=", value, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdIn(List<Integer> values) {
            addCriterion("activity_targets_id in", values, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdNotIn(List<Integer> values) {
            addCriterion("activity_targets_id not in", values, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_targets_id between", value1, value2, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityTargetsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_targets_id not between", value1, value2, "activityTargetsId");
            return (Criteria) this;
        }

        public Criteria andActivityLimitIsNull() {
            addCriterion("activity_limit is null");
            return (Criteria) this;
        }

        public Criteria andActivityLimitIsNotNull() {
            addCriterion("activity_limit is not null");
            return (Criteria) this;
        }

        public Criteria andActivityLimitEqualTo(Integer value) {
            addCriterion("activity_limit =", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitNotEqualTo(Integer value) {
            addCriterion("activity_limit <>", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitGreaterThan(Integer value) {
            addCriterion("activity_limit >", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_limit >=", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitLessThan(Integer value) {
            addCriterion("activity_limit <", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitLessThanOrEqualTo(Integer value) {
            addCriterion("activity_limit <=", value, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitIn(List<Integer> values) {
            addCriterion("activity_limit in", values, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitNotIn(List<Integer> values) {
            addCriterion("activity_limit not in", values, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitBetween(Integer value1, Integer value2) {
            addCriterion("activity_limit between", value1, value2, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_limit not between", value1, value2, "activityLimit");
            return (Criteria) this;
        }

        public Criteria andActivityStartIsNull() {
            addCriterion("activity_start is null");
            return (Criteria) this;
        }

        public Criteria andActivityStartIsNotNull() {
            addCriterion("activity_start is not null");
            return (Criteria) this;
        }

        public Criteria andActivityStartEqualTo(Date value) {
            addCriterion("activity_start =", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartNotEqualTo(Date value) {
            addCriterion("activity_start <>", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartGreaterThan(Date value) {
            addCriterion("activity_start >", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartGreaterThanOrEqualTo(Date value) {
            addCriterion("activity_start >=", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartLessThan(Date value) {
            addCriterion("activity_start <", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartLessThanOrEqualTo(Date value) {
            addCriterion("activity_start <=", value, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartIn(List<Date> values) {
            addCriterion("activity_start in", values, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartNotIn(List<Date> values) {
            addCriterion("activity_start not in", values, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartBetween(Date value1, Date value2) {
            addCriterion("activity_start between", value1, value2, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityStartNotBetween(Date value1, Date value2) {
            addCriterion("activity_start not between", value1, value2, "activityStart");
            return (Criteria) this;
        }

        public Criteria andActivityEndIsNull() {
            addCriterion("activity_end is null");
            return (Criteria) this;
        }

        public Criteria andActivityEndIsNotNull() {
            addCriterion("activity_end is not null");
            return (Criteria) this;
        }

        public Criteria andActivityEndEqualTo(Date value) {
            addCriterion("activity_end =", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndNotEqualTo(Date value) {
            addCriterion("activity_end <>", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndGreaterThan(Date value) {
            addCriterion("activity_end >", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndGreaterThanOrEqualTo(Date value) {
            addCriterion("activity_end >=", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndLessThan(Date value) {
            addCriterion("activity_end <", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndLessThanOrEqualTo(Date value) {
            addCriterion("activity_end <=", value, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndIn(List<Date> values) {
            addCriterion("activity_end in", values, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndNotIn(List<Date> values) {
            addCriterion("activity_end not in", values, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndBetween(Date value1, Date value2) {
            addCriterion("activity_end between", value1, value2, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityEndNotBetween(Date value1, Date value2) {
            addCriterion("activity_end not between", value1, value2, "activityEnd");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentIsNull() {
            addCriterion("activity_attachment is null");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentIsNotNull() {
            addCriterion("activity_attachment is not null");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentEqualTo(String value) {
            addCriterion("activity_attachment =", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentNotEqualTo(String value) {
            addCriterion("activity_attachment <>", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentGreaterThan(String value) {
            addCriterion("activity_attachment >", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentGreaterThanOrEqualTo(String value) {
            addCriterion("activity_attachment >=", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentLessThan(String value) {
            addCriterion("activity_attachment <", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentLessThanOrEqualTo(String value) {
            addCriterion("activity_attachment <=", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentLike(String value) {
            addCriterion("activity_attachment like", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentNotLike(String value) {
            addCriterion("activity_attachment not like", value, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentIn(List<String> values) {
            addCriterion("activity_attachment in", values, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentNotIn(List<String> values) {
            addCriterion("activity_attachment not in", values, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentBetween(String value1, String value2) {
            addCriterion("activity_attachment between", value1, value2, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityAttachmentNotBetween(String value1, String value2) {
            addCriterion("activity_attachment not between", value1, value2, "activityAttachment");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptIsNull() {
            addCriterion("activity_excerpt is null");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptIsNotNull() {
            addCriterion("activity_excerpt is not null");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptEqualTo(String value) {
            addCriterion("activity_excerpt =", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptNotEqualTo(String value) {
            addCriterion("activity_excerpt <>", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptGreaterThan(String value) {
            addCriterion("activity_excerpt >", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptGreaterThanOrEqualTo(String value) {
            addCriterion("activity_excerpt >=", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptLessThan(String value) {
            addCriterion("activity_excerpt <", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptLessThanOrEqualTo(String value) {
            addCriterion("activity_excerpt <=", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptLike(String value) {
            addCriterion("activity_excerpt like", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptNotLike(String value) {
            addCriterion("activity_excerpt not like", value, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptIn(List<String> values) {
            addCriterion("activity_excerpt in", values, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptNotIn(List<String> values) {
            addCriterion("activity_excerpt not in", values, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptBetween(String value1, String value2) {
            addCriterion("activity_excerpt between", value1, value2, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityExcerptNotBetween(String value1, String value2) {
            addCriterion("activity_excerpt not between", value1, value2, "activityExcerpt");
            return (Criteria) this;
        }

        public Criteria andActivityUrlIsNull() {
            addCriterion("activity_url is null");
            return (Criteria) this;
        }

        public Criteria andActivityUrlIsNotNull() {
            addCriterion("activity_url is not null");
            return (Criteria) this;
        }

        public Criteria andActivityUrlEqualTo(String value) {
            addCriterion("activity_url =", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlNotEqualTo(String value) {
            addCriterion("activity_url <>", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlGreaterThan(String value) {
            addCriterion("activity_url >", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlGreaterThanOrEqualTo(String value) {
            addCriterion("activity_url >=", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlLessThan(String value) {
            addCriterion("activity_url <", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlLessThanOrEqualTo(String value) {
            addCriterion("activity_url <=", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlLike(String value) {
            addCriterion("activity_url like", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlNotLike(String value) {
            addCriterion("activity_url not like", value, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlIn(List<String> values) {
            addCriterion("activity_url in", values, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlNotIn(List<String> values) {
            addCriterion("activity_url not in", values, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlBetween(String value1, String value2) {
            addCriterion("activity_url between", value1, value2, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andActivityUrlNotBetween(String value1, String value2) {
            addCriterion("activity_url not between", value1, value2, "activityUrl");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdIsNull() {
            addCriterion("departments_id is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdIsNotNull() {
            addCriterion("departments_id is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdEqualTo(Integer value) {
            addCriterion("departments_id =", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdNotEqualTo(Integer value) {
            addCriterion("departments_id <>", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdGreaterThan(Integer value) {
            addCriterion("departments_id >", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("departments_id >=", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdLessThan(Integer value) {
            addCriterion("departments_id <", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdLessThanOrEqualTo(Integer value) {
            addCriterion("departments_id <=", value, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdIn(List<Integer> values) {
            addCriterion("departments_id in", values, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdNotIn(List<Integer> values) {
            addCriterion("departments_id not in", values, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdBetween(Integer value1, Integer value2) {
            addCriterion("departments_id between", value1, value2, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andDepartmentsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("departments_id not between", value1, value2, "departmentsId");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeIsNull() {
            addCriterion("activity_employee is null");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeIsNotNull() {
            addCriterion("activity_employee is not null");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeEqualTo(String value) {
            addCriterion("activity_employee =", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeNotEqualTo(String value) {
            addCriterion("activity_employee <>", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeGreaterThan(String value) {
            addCriterion("activity_employee >", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeGreaterThanOrEqualTo(String value) {
            addCriterion("activity_employee >=", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeLessThan(String value) {
            addCriterion("activity_employee <", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeLessThanOrEqualTo(String value) {
            addCriterion("activity_employee <=", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeLike(String value) {
            addCriterion("activity_employee like", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeNotLike(String value) {
            addCriterion("activity_employee not like", value, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeIn(List<String> values) {
            addCriterion("activity_employee in", values, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeNotIn(List<String> values) {
            addCriterion("activity_employee not in", values, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeBetween(String value1, String value2) {
            addCriterion("activity_employee between", value1, value2, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeNotBetween(String value1, String value2) {
            addCriterion("activity_employee not between", value1, value2, "activityEmployee");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelIsNull() {
            addCriterion("activity_employee_tel is null");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelIsNotNull() {
            addCriterion("activity_employee_tel is not null");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelEqualTo(String value) {
            addCriterion("activity_employee_tel =", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelNotEqualTo(String value) {
            addCriterion("activity_employee_tel <>", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelGreaterThan(String value) {
            addCriterion("activity_employee_tel >", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelGreaterThanOrEqualTo(String value) {
            addCriterion("activity_employee_tel >=", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelLessThan(String value) {
            addCriterion("activity_employee_tel <", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelLessThanOrEqualTo(String value) {
            addCriterion("activity_employee_tel <=", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelLike(String value) {
            addCriterion("activity_employee_tel like", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelNotLike(String value) {
            addCriterion("activity_employee_tel not like", value, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelIn(List<String> values) {
            addCriterion("activity_employee_tel in", values, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelNotIn(List<String> values) {
            addCriterion("activity_employee_tel not in", values, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelBetween(String value1, String value2) {
            addCriterion("activity_employee_tel between", value1, value2, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityEmployeeTelNotBetween(String value1, String value2) {
            addCriterion("activity_employee_tel not between", value1, value2, "activityEmployeeTel");
            return (Criteria) this;
        }

        public Criteria andActivityNoteIsNull() {
            addCriterion("activity_note is null");
            return (Criteria) this;
        }

        public Criteria andActivityNoteIsNotNull() {
            addCriterion("activity_note is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNoteEqualTo(String value) {
            addCriterion("activity_note =", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteNotEqualTo(String value) {
            addCriterion("activity_note <>", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteGreaterThan(String value) {
            addCriterion("activity_note >", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteGreaterThanOrEqualTo(String value) {
            addCriterion("activity_note >=", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteLessThan(String value) {
            addCriterion("activity_note <", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteLessThanOrEqualTo(String value) {
            addCriterion("activity_note <=", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteLike(String value) {
            addCriterion("activity_note like", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteNotLike(String value) {
            addCriterion("activity_note not like", value, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteIn(List<String> values) {
            addCriterion("activity_note in", values, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteNotIn(List<String> values) {
            addCriterion("activity_note not in", values, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteBetween(String value1, String value2) {
            addCriterion("activity_note between", value1, value2, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityNoteNotBetween(String value1, String value2) {
            addCriterion("activity_note not between", value1, value2, "activityNote");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedIsNull() {
            addCriterion("activity_gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedIsNotNull() {
            addCriterion("activity_gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedEqualTo(Date value) {
            addCriterion("activity_gmt_modified =", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedNotEqualTo(Date value) {
            addCriterion("activity_gmt_modified <>", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedGreaterThan(Date value) {
            addCriterion("activity_gmt_modified >", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("activity_gmt_modified >=", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedLessThan(Date value) {
            addCriterion("activity_gmt_modified <", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("activity_gmt_modified <=", value, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedIn(List<Date> values) {
            addCriterion("activity_gmt_modified in", values, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedNotIn(List<Date> values) {
            addCriterion("activity_gmt_modified not in", values, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("activity_gmt_modified between", value1, value2, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("activity_gmt_modified not between", value1, value2, "activityGmtModified");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateIsNull() {
            addCriterion("activity_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateIsNotNull() {
            addCriterion("activity_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateEqualTo(Date value) {
            addCriterion("activity_gmt_create =", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateNotEqualTo(Date value) {
            addCriterion("activity_gmt_create <>", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateGreaterThan(Date value) {
            addCriterion("activity_gmt_create >", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("activity_gmt_create >=", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateLessThan(Date value) {
            addCriterion("activity_gmt_create <", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("activity_gmt_create <=", value, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateIn(List<Date> values) {
            addCriterion("activity_gmt_create in", values, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateNotIn(List<Date> values) {
            addCriterion("activity_gmt_create not in", values, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateBetween(Date value1, Date value2) {
            addCriterion("activity_gmt_create between", value1, value2, "activityGmtCreate");
            return (Criteria) this;
        }

        public Criteria andActivityGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("activity_gmt_create not between", value1, value2, "activityGmtCreate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}